<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>document2html: src/libs/fileext/docx/docx.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">document2html
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Documents to HTML converter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('docx_8hpp_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">docx.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="docx_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;../../pugixml/pugixml.hpp&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;../fileext.hpp&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;../ooxml/ooxml.hpp&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacedocx.html">docx</a> {</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classdocx_1_1_docx.html">   33</a></span>&#160;<span class="keyword">class </span><a class="code" href="classdocx_1_1_docx.html">Docx</a>: <span class="keyword">public</span> <a class="code" href="classfileext_1_1_file_extension.html">fileext::FileExtension</a>, <span class="keyword">public</span> <a class="code" href="classooxml_1_1_ooxml.html">ooxml::Ooxml</a> {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <a class="code" href="classdocx_1_1_docx.html#a8ba9bab82e7acfa46c03ed2aba040ef8">Docx</a>(<span class="keyword">const</span> std::string&amp; fileName);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classdocx_1_1_docx.html#a54069f447f425ef7bf1099a9d41bcbfb">~Docx</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#aac4e7232d22dc4c4dc270a1b4b6f53e5">convert</a>(<span class="keywordtype">bool</span> <a class="code" href="classdocx_1_1_docx.html#a82cca6aac7757bd3e5b152f9f3c5085d">addStyle</a> = <span class="keyword">true</span>, <span class="keywordtype">bool</span> extractImages = <span class="keyword">false</span>, <span class="keywordtype">char</span> mergingMode = 0) <span class="keyword">override</span>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a66863c80dd887ffa5fbb7441de0452a6">getNumberingMap</a>();</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a62b1b4a48bd72ba517d7476ab0a79996">getStyleMap</a>();</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a9015fd031e6ee5d8e96ff736ad1c6892">getRelationshipMap</a>();</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    std::string <a class="code" href="classdocx_1_1_docx.html#a2f8c055e0a8053c9fe237033016ce030">isHeader</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    std::string <a class="code" href="classdocx_1_1_docx.html#abbc5f206c8547afa0df053f1e85edf6a">isNaturalHeader</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    std::string <a class="code" href="classdocx_1_1_docx.html#a42328f38b7fa10160cd740b9b252760a">getNumberingId</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classdocx_1_1_docx.html#a093c1f779d01463bb343733360491d06">hasIndentationLevel</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a2c5fb8801e8402f7f6a4e2da2de0fd79">getParagraphText</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a7d68bfae73bc7fb66c8059db31936e65">getElementText</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a29993b69c0839820f552549ff9fc3d3d">buildHyperlink</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    std::string <a class="code" href="classdocx_1_1_docx.html#a3c730b073de64ea507574905040fe41c">getImageId</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#ad9dc4dd5dfd0408f0f8d057954c6c0da">getImageSize</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode) <span class="keyword">const</span>;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#af84baf868e58aaf2102f34c47e85cb87">buildImage</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a14c8c87c17357fb9c0fcdfb8885503aa">buildTable</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a4acc5e663b131605f9714aefdfa0da55">buildTr</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classdocx_1_1_docx.html#a2164af1af0decee2401b3cad7bb2f3ca">getRowspan</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classdocx_1_1_docx.html#a71ccf3d4c7a2d3de56c0b0e28db1d3a9">getColspan</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#abdb0dd9c29bd29826cf76708cf87b578">buildList</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#acba0d6091365609d510c71778b506493">getListNodes</a>(<span class="keyword">const</span> pugi::xml_node&amp; node, std::vector&lt;pugi::xml_node&gt;&amp; liNodes) <span class="keyword">const</span>;</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classdocx_1_1_docx.html#ab466e83d17a7f4d6564760ec3c8c1c4b">getIndentationLevel</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classdocx_1_1_docx.html#a9aebf5276dede06205ea22ad714f904f">isLi</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classdocx_1_1_docx.html#ae127ac6d32f222644ce6579b627c707b">isTopLevel</a>(<span class="keyword">const</span> pugi::xml_node&amp; node) <span class="keyword">const</span>;</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classdocx_1_1_docx.html#a97d444920da4500f4a5446042d873403">isLastLi</a>(<span class="keyword">const</span> pugi::xml_node&amp; node, <span class="keyword">const</span> std::string&amp; currentNumId) <span class="keyword">const</span>;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#ada3200cda86826ac870bc7b9ae578ad9">buildNonListContent</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classdocx_1_1_docx.html#ae4bf0f837b3d8ece521c5282d76242a7">hasStyle</a>(<span class="keyword">const</span> pugi::xml_node&amp; node, <span class="keyword">const</span> std::string&amp; style) <span class="keyword">const</span>;</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    std::string <a class="code" href="classdocx_1_1_docx.html#a0d06b6b07580e38de911489d21ae8bdc">getStyleValue</a>(<span class="keyword">const</span> pugi::xml_node&amp; parentNode, <span class="keyword">const</span> std::string&amp; nodeName,</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;                              <span class="keyword">const</span> std::string&amp; styleName) <span class="keyword">const</span>;</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a741a76c67cf4e0d82bf2df9888aecf99">addTextStyle</a>(pugi::xml_node&amp; node, <span class="keyword">const</span> std::string&amp; style) <span class="keyword">const</span>;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a82cca6aac7757bd3e5b152f9f3c5085d">addStyle</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode) <span class="keyword">const</span>;</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#ae7bab42e5feb42ad9f6af465d43274dc">addGeneralStyle</a>(<span class="keyword">const</span> pugi::xml_node&amp; node,</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;                         std::unordered_map&lt;std::string, std::string&gt;&amp; styleMap) <span class="keyword">const</span>;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#af0ed6a4ab06362deba192e08c07bc460">addTableStyle</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode);</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a926d1e849d6d3cffabda19b4868a05a1">addRowStyle</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode) <span class="keyword">const</span>;</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classdocx_1_1_docx.html#a454568b9ca14a245dba26f79a19c35f4">addCellStyle</a>(<span class="keyword">const</span> pugi::xml_node&amp; xmlNode, pugi::xml_node&amp; htmlNode);</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;</div><div class="line"><a name="l00463"></a><span class="lineno"><a class="line" href="classdocx_1_1_docx.html#a6b4c303a901c16531c981d2ac9f93cc3">  463</a></span>&#160;    std::unordered_map&lt;std::string, std::vector&lt;std::string&gt;&gt; <a class="code" href="classdocx_1_1_docx.html#a6b4c303a901c16531c981d2ac9f93cc3">m_numberingMap</a>;</div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="classdocx_1_1_docx.html#afdbba8e371a73a8ea00b842d0dea40cb">  465</a></span>&#160;    std::unordered_map&lt;std::string, std::unordered_map&lt;std::string, std::string&gt;&gt; <a class="code" href="classdocx_1_1_docx.html#afdbba8e371a73a8ea00b842d0dea40cb">m_styleMap</a>;</div><div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="classdocx_1_1_docx.html#ae18099c8d065ef73c3b3ac6b0e95a732">  467</a></span>&#160;    std::unordered_map&lt;std::string, std::string&gt; <a class="code" href="classdocx_1_1_docx.html#ae18099c8d065ef73c3b3ac6b0e95a732">m_relationshipMap</a>;</div><div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="classdocx_1_1_docx.html#a5bd8f443742ee3b92e240b4ecdba724b">  469</a></span>&#160;    std::unordered_map&lt;std::string, std::pair&lt;int, int&gt;&gt; <a class="code" href="classdocx_1_1_docx.html#a5bd8f443742ee3b92e240b4ecdba724b">m_imageSizeMap</a>;</div><div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="classdocx_1_1_docx.html#a100129e908e05a3f163587d581257d81">  471</a></span>&#160;    std::vector&lt;pugi::xml_node&gt; <a class="code" href="classdocx_1_1_docx.html#a100129e908e05a3f163587d581257d81">m_visitedNodeList</a>;</div><div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="classdocx_1_1_docx.html#a7c7811efb26a4565fcd9301d35f9f998">  473</a></span>&#160;    std::unordered_map&lt;std::string, std::string&gt; <a class="code" href="classdocx_1_1_docx.html#a7c7811efb26a4565fcd9301d35f9f998">m_borderMap</a>;</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;};</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;}  <span class="comment">// End namespace</span></div><div class="ttc" id="classdocx_1_1_docx_html_a8ba9bab82e7acfa46c03ed2aba040ef8"><div class="ttname"><a href="classdocx_1_1_docx.html#a8ba9bab82e7acfa46c03ed2aba040ef8">docx::Docx::Docx</a></div><div class="ttdeci">Docx(const std::string &amp;fileName)</div><div class="ttdef"><b>Definition:</b> docx.cpp:109</div></div>
<div class="ttc" id="classooxml_1_1_ooxml_html"><div class="ttname"><a href="classooxml_1_1_ooxml.html">ooxml::Ooxml</a></div><div class="ttdoc">Wrapper for Office Open XML (OOXML) </div><div class="ttdef"><b>Definition:</b> ooxml.hpp:29</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_ae4bf0f837b3d8ece521c5282d76242a7"><div class="ttname"><a href="classdocx_1_1_docx.html#ae4bf0f837b3d8ece521c5282d76242a7">docx::Docx::hasStyle</a></div><div class="ttdeci">bool hasStyle(const pugi::xml_node &amp;node, const std::string &amp;style) const</div><div class="ttdoc">Check if r tag passed in is considered bold/italicized/underlined/... </div><div class="ttdef"><b>Definition:</b> docx.cpp:668</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a926d1e849d6d3cffabda19b4868a05a1"><div class="ttname"><a href="classdocx_1_1_docx.html#a926d1e849d6d3cffabda19b4868a05a1">docx::Docx::addRowStyle</a></div><div class="ttdeci">void addRowStyle(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode) const</div><div class="ttdoc">Add style to table row element. </div><div class="ttdef"><b>Definition:</b> docx.cpp:807</div></div>
<div class="ttc" id="classdocx_1_1_docx_html"><div class="ttname"><a href="classdocx_1_1_docx.html">docx::Docx</a></div><div class="ttdoc">DOCX files into HTML сonverter. </div><div class="ttdef"><b>Definition:</b> docx.hpp:33</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_acba0d6091365609d510c71778b506493"><div class="ttname"><a href="classdocx_1_1_docx.html#acba0d6091365609d510c71778b506493">docx::Docx::getListNodes</a></div><div class="ttdeci">void getListNodes(const pugi::xml_node &amp;node, std::vector&lt; pugi::xml_node &gt; &amp;liNodes) const</div><div class="ttdoc">Find consecutive li tags that have content that have the same list id. </div><div class="ttdef"><b>Definition:</b> docx.cpp:588</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a42328f38b7fa10160cd740b9b252760a"><div class="ttname"><a href="classdocx_1_1_docx.html#a42328f38b7fa10160cd740b9b252760a">docx::Docx::getNumberingId</a></div><div class="ttdeci">std::string getNumberingId(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Get numbering id. </div><div class="ttdef"><b>Definition:</b> docx.cpp:276</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a71ccf3d4c7a2d3de56c0b0e28db1d3a9"><div class="ttname"><a href="classdocx_1_1_docx.html#a71ccf3d4c7a2d3de56c0b0e28db1d3a9">docx::Docx::getColspan</a></div><div class="ttdeci">int getColspan(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Get colspan value for cells that have column merging. </div><div class="ttdef"><b>Definition:</b> docx.cpp:523</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a9aebf5276dede06205ea22ad714f904f"><div class="ttname"><a href="classdocx_1_1_docx.html#a9aebf5276dede06205ea22ad714f904f">docx::Docx::isLi</a></div><div class="ttdeci">bool isLi(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Check if elent is li </div><div class="ttdef"><b>Definition:</b> docx.cpp:628</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_ae18099c8d065ef73c3b3ac6b0e95a732"><div class="ttname"><a href="classdocx_1_1_docx.html#ae18099c8d065ef73c3b3ac6b0e95a732">docx::Docx::m_relationshipMap</a></div><div class="ttdeci">std::unordered_map&lt; std::string, std::string &gt; m_relationshipMap</div><div class="ttdef"><b>Definition:</b> docx.hpp:467</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a2f8c055e0a8053c9fe237033016ce030"><div class="ttname"><a href="classdocx_1_1_docx.html#a2f8c055e0a8053c9fe237033016ce030">docx::Docx::isHeader</a></div><div class="ttdeci">std::string isHeader(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Check if element is header. </div><div class="ttdef"><b>Definition:</b> docx.cpp:250</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a2c5fb8801e8402f7f6a4e2da2de0fd79"><div class="ttname"><a href="classdocx_1_1_docx.html#a2c5fb8801e8402f7f6a4e2da2de0fd79">docx::Docx::getParagraphText</a></div><div class="ttdeci">void getParagraphText(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Get paragraph text. </div><div class="ttdef"><b>Definition:</b> docx.cpp:287</div></div>
<div class="ttc" id="namespacedocx_html"><div class="ttname"><a href="namespacedocx.html">docx</a></div><div class="ttdoc">DOCX files into HTML сonverter. </div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a97d444920da4500f4a5446042d873403"><div class="ttname"><a href="classdocx_1_1_docx.html#a97d444920da4500f4a5446042d873403">docx::Docx::isLastLi</a></div><div class="ttdeci">bool isLastLi(const pugi::xml_node &amp;node, const std::string &amp;currentNumId) const</div><div class="ttdoc">Check if li is last. </div><div class="ttdef"><b>Definition:</b> docx.cpp:641</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a9015fd031e6ee5d8e96ff736ad1c6892"><div class="ttname"><a href="classdocx_1_1_docx.html#a9015fd031e6ee5d8e96ff736ad1c6892">docx::Docx::getRelationshipMap</a></div><div class="ttdeci">void getRelationshipMap()</div><div class="ttdoc">Get word/_rels/document.xml.rels content. </div><div class="ttdef"><b>Definition:</b> docx.cpp:238</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_abdb0dd9c29bd29826cf76708cf87b578"><div class="ttname"><a href="classdocx_1_1_docx.html#abdb0dd9c29bd29826cf76708cf87b578">docx::Docx::buildList</a></div><div class="ttdeci">void buildList(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Build list structure. </div><div class="ttdef"><b>Definition:</b> docx.cpp:529</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a14c8c87c17357fb9c0fcdfb8885503aa"><div class="ttname"><a href="classdocx_1_1_docx.html#a14c8c87c17357fb9c0fcdfb8885503aa">docx::Docx::buildTable</a></div><div class="ttdeci">void buildTable(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Create table with all rows and cells correctly populated. </div><div class="ttdef"><b>Definition:</b> docx.cpp:392</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_ada3200cda86826ac870bc7b9ae578ad9"><div class="ttname"><a href="classdocx_1_1_docx.html#ada3200cda86826ac870bc7b9ae578ad9">docx::Docx::buildNonListContent</a></div><div class="ttdeci">void buildNonListContent(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Build non list content. </div><div class="ttdef"><b>Definition:</b> docx.cpp:655</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a66863c80dd887ffa5fbb7441de0452a6"><div class="ttname"><a href="classdocx_1_1_docx.html#a66863c80dd887ffa5fbb7441de0452a6">docx::Docx::getNumberingMap</a></div><div class="ttdeci">void getNumberingMap()</div><div class="ttdoc">Get word/numbering.xml content. </div><div class="ttdef"><b>Definition:</b> docx.cpp:170</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_ae127ac6d32f222644ce6579b627c707b"><div class="ttname"><a href="classdocx_1_1_docx.html#ae127ac6d32f222644ce6579b627c707b">docx::Docx::isTopLevel</a></div><div class="ttdeci">bool isTopLevel(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Check if li in top level. </div><div class="ttdef"><b>Definition:</b> docx.cpp:634</div></div>
<div class="ttc" id="classfileext_1_1_file_extension_html"><div class="ttname"><a href="classfileext_1_1_file_extension.html">fileext::FileExtension</a></div><div class="ttdoc">Base class for file extensions converters. </div><div class="ttdef"><b>Definition:</b> fileext.hpp:32</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a6b4c303a901c16531c981d2ac9f93cc3"><div class="ttname"><a href="classdocx_1_1_docx.html#a6b4c303a901c16531c981d2ac9f93cc3">docx::Docx::m_numberingMap</a></div><div class="ttdeci">std::unordered_map&lt; std::string, std::vector&lt; std::string &gt; &gt; m_numberingMap</div><div class="ttdef"><b>Definition:</b> docx.hpp:463</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_ab466e83d17a7f4d6564760ec3c8c1c4b"><div class="ttname"><a href="classdocx_1_1_docx.html#ab466e83d17a7f4d6564760ec3c8c1c4b">docx::Docx::getIndentationLevel</a></div><div class="ttdeci">int getIndentationLevel(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Get indentation level. </div><div class="ttdef"><b>Definition:</b> docx.cpp:621</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_abbc5f206c8547afa0df053f1e85edf6a"><div class="ttname"><a href="classdocx_1_1_docx.html#abbc5f206c8547afa0df053f1e85edf6a">docx::Docx::isNaturalHeader</a></div><div class="ttdeci">std::string isNaturalHeader(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Check if element is natural header. </div><div class="ttdef"><b>Definition:</b> docx.cpp:263</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_af0ed6a4ab06362deba192e08c07bc460"><div class="ttname"><a href="classdocx_1_1_docx.html#af0ed6a4ab06362deba192e08c07bc460">docx::Docx::addTableStyle</a></div><div class="ttdeci">void addTableStyle(const pugi::xml_node &amp;xmlNode)</div><div class="ttdoc">Add style to table element. </div><div class="ttdef"><b>Definition:</b> docx.cpp:793</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a7c7811efb26a4565fcd9301d35f9f998"><div class="ttname"><a href="classdocx_1_1_docx.html#a7c7811efb26a4565fcd9301d35f9f998">docx::Docx::m_borderMap</a></div><div class="ttdeci">std::unordered_map&lt; std::string, std::string &gt; m_borderMap</div><div class="ttdef"><b>Definition:</b> docx.hpp:473</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_ae7bab42e5feb42ad9f6af465d43274dc"><div class="ttname"><a href="classdocx_1_1_docx.html#ae7bab42e5feb42ad9f6af465d43274dc">docx::Docx::addGeneralStyle</a></div><div class="ttdeci">void addGeneralStyle(const pugi::xml_node &amp;node, std::unordered_map&lt; std::string, std::string &gt; &amp;styleMap) const</div><div class="ttdoc">Add general parent and element style. </div><div class="ttdef"><b>Definition:</b> docx.cpp:766</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a29993b69c0839820f552549ff9fc3d3d"><div class="ttname"><a href="classdocx_1_1_docx.html#a29993b69c0839820f552549ff9fc3d3d">docx::Docx::buildHyperlink</a></div><div class="ttdeci">void buildHyperlink(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Create hyperlink. </div><div class="ttdef"><b>Definition:</b> docx.cpp:331</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a4acc5e663b131605f9714aefdfa0da55"><div class="ttname"><a href="classdocx_1_1_docx.html#a4acc5e663b131605f9714aefdfa0da55">docx::Docx::buildTr</a></div><div class="ttdeci">void buildTr(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Create single tr element, with all tds already populated. </div><div class="ttdef"><b>Definition:</b> docx.cpp:405</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a741a76c67cf4e0d82bf2df9888aecf99"><div class="ttname"><a href="classdocx_1_1_docx.html#a741a76c67cf4e0d82bf2df9888aecf99">docx::Docx::addTextStyle</a></div><div class="ttdeci">void addTextStyle(pugi::xml_node &amp;node, const std::string &amp;style) const</div><div class="ttdoc">Add text style tags such as b/i/u/... </div><div class="ttdef"><b>Definition:</b> docx.cpp:681</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_af84baf868e58aaf2102f34c47e85cb87"><div class="ttname"><a href="classdocx_1_1_docx.html#af84baf868e58aaf2102f34c47e85cb87">docx::Docx::buildImage</a></div><div class="ttdeci">void buildImage(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Create image. </div><div class="ttdef"><b>Definition:</b> docx.cpp:366</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a100129e908e05a3f163587d581257d81"><div class="ttname"><a href="classdocx_1_1_docx.html#a100129e908e05a3f163587d581257d81">docx::Docx::m_visitedNodeList</a></div><div class="ttdeci">std::vector&lt; pugi::xml_node &gt; m_visitedNodeList</div><div class="ttdef"><b>Definition:</b> docx.hpp:471</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a54069f447f425ef7bf1099a9d41bcbfb"><div class="ttname"><a href="classdocx_1_1_docx.html#a54069f447f425ef7bf1099a9d41bcbfb">docx::Docx::~Docx</a></div><div class="ttdeci">virtual ~Docx()=default</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a82cca6aac7757bd3e5b152f9f3c5085d"><div class="ttname"><a href="classdocx_1_1_docx.html#a82cca6aac7757bd3e5b152f9f3c5085d">docx::Docx::addStyle</a></div><div class="ttdeci">void addStyle(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode) const</div><div class="ttdoc">Add style to element. </div><div class="ttdef"><b>Definition:</b> docx.cpp:689</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_ad9dc4dd5dfd0408f0f8d057954c6c0da"><div class="ttname"><a href="classdocx_1_1_docx.html#ad9dc4dd5dfd0408f0f8d057954c6c0da">docx::Docx::getImageSize</a></div><div class="ttdeci">void getImageSize(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode) const</div><div class="ttdoc">Get image size and update img tag. </div><div class="ttdef"><b>Definition:</b> docx.cpp:353</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_afdbba8e371a73a8ea00b842d0dea40cb"><div class="ttname"><a href="classdocx_1_1_docx.html#afdbba8e371a73a8ea00b842d0dea40cb">docx::Docx::m_styleMap</a></div><div class="ttdeci">std::unordered_map&lt; std::string, std::unordered_map&lt; std::string, std::string &gt; &gt; m_styleMap</div><div class="ttdef"><b>Definition:</b> docx.hpp:465</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a3c730b073de64ea507574905040fe41c"><div class="ttname"><a href="classdocx_1_1_docx.html#a3c730b073de64ea507574905040fe41c">docx::Docx::getImageId</a></div><div class="ttdeci">std::string getImageId(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Get image id. </div><div class="ttdef"><b>Definition:</b> docx.cpp:344</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a2164af1af0decee2401b3cad7bb2f3ca"><div class="ttname"><a href="classdocx_1_1_docx.html#a2164af1af0decee2401b3cad7bb2f3ca">docx::Docx::getRowspan</a></div><div class="ttdeci">int getRowspan(const pugi::xml_node &amp;node) const</div><div class="ttdoc">Get rowspan value for cells that have row merging. </div><div class="ttdef"><b>Definition:</b> docx.cpp:497</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a0d06b6b07580e38de911489d21ae8bdc"><div class="ttname"><a href="classdocx_1_1_docx.html#a0d06b6b07580e38de911489d21ae8bdc">docx::Docx::getStyleValue</a></div><div class="ttdeci">std::string getStyleValue(const pugi::xml_node &amp;parentNode, const std::string &amp;nodeName, const std::string &amp;styleName) const</div><div class="ttdoc">Get style tag attribute value. </div><div class="ttdef"><b>Definition:</b> docx.cpp:674</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a62b1b4a48bd72ba517d7476ab0a79996"><div class="ttname"><a href="classdocx_1_1_docx.html#a62b1b4a48bd72ba517d7476ab0a79996">docx::Docx::getStyleMap</a></div><div class="ttdeci">void getStyleMap()</div><div class="ttdoc">Get word/styles.xml content. </div><div class="ttdef"><b>Definition:</b> docx.cpp:198</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a7d68bfae73bc7fb66c8059db31936e65"><div class="ttname"><a href="classdocx_1_1_docx.html#a7d68bfae73bc7fb66c8059db31936e65">docx::Docx::getElementText</a></div><div class="ttdeci">void getElementText(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Get element text. </div><div class="ttdef"><b>Definition:</b> docx.cpp:302</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a5bd8f443742ee3b92e240b4ecdba724b"><div class="ttname"><a href="classdocx_1_1_docx.html#a5bd8f443742ee3b92e240b4ecdba724b">docx::Docx::m_imageSizeMap</a></div><div class="ttdeci">std::unordered_map&lt; std::string, std::pair&lt; int, int &gt; &gt; m_imageSizeMap</div><div class="ttdef"><b>Definition:</b> docx.hpp:469</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_aac4e7232d22dc4c4dc270a1b4b6f53e5"><div class="ttname"><a href="classdocx_1_1_docx.html#aac4e7232d22dc4c4dc270a1b4b6f53e5">docx::Docx::convert</a></div><div class="ttdeci">void convert(bool addStyle=true, bool extractImages=false, char mergingMode=0) override</div><div class="ttdoc">Convert file to HTML-tree. </div><div class="ttdef"><b>Definition:</b> docx.cpp:112</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a093c1f779d01463bb343733360491d06"><div class="ttname"><a href="classdocx_1_1_docx.html#a093c1f779d01463bb343733360491d06">docx::Docx::hasIndentationLevel</a></div><div class="ttdeci">bool hasIndentationLevel(const pugi::xml_node &amp;node) const</div><div class="ttdoc">If element has indentation level. </div><div class="ttdef"><b>Definition:</b> docx.cpp:281</div></div>
<div class="ttc" id="classdocx_1_1_docx_html_a454568b9ca14a245dba26f79a19c35f4"><div class="ttname"><a href="classdocx_1_1_docx.html#a454568b9ca14a245dba26f79a19c35f4">docx::Docx::addCellStyle</a></div><div class="ttdeci">void addCellStyle(const pugi::xml_node &amp;xmlNode, pugi::xml_node &amp;htmlNode)</div><div class="ttdoc">Add style to table cell element. </div><div class="ttdef"><b>Definition:</b> docx.cpp:816</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_87a455bccb09a92130c26a11a880c98a.html">libs</a></li><li class="navelem"><a class="el" href="dir_ffbcd8de0e3a98e11beaf3347bc22514.html">fileext</a></li><li class="navelem"><a class="el" href="dir_a60c24fc477e46c7857415afec9317b7.html">docx</a></li><li class="navelem"><a class="el" href="docx_8hpp.html">docx.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
